package cn.sirun.com.fca.account.model.login;

import com.google.gson.annotations.SerializedName;

/**
 * @author vinsonhuang
 * @date 2018/8/25
 */
public class AuthenticateRequest {

    /**
     * 客户端 publicKey
     */
    @SerializedName("A")
    protected String publicKey;

    /**
     * 客户端的置信证明
     */
    @SerializedName("M")
    protected String evidenceMessage;

    public AuthenticateRequest() {
    }

    public AuthenticateRequest(String publicKey, String confidenceProve) {
        this.publicKey = publicKey;
        this.evidenceMessage = confidenceProve;
    }

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public String getEvidenceMessage() {
        return evidenceMessage;
    }

    public void setEvidenceMessage(String evidenceMessage) {
        this.evidenceMessage = evidenceMessage;
    }

    @Override
    public String toString() {
        return "AuthenticateRequest{" +
                "publicKey='" + publicKey + '\'' +
                ", evidenceMessage='" + evidenceMessage + '\'' +
                '}';
    }
}
